package com.lxx.dto;

import com.lxx.annotation.SystemPropertyName;

public class SystemInfo {
	private String serverHost; // 服务器主机名
	private String serverIp; // 服务器ip
	private String domain; // 服务器域名
	private String mac;
	private String port;
	
	private String os; // 操作系统
	private String serverTime; // 系统时间
	private String alreadyRunTime; // 已经运行时长
	private String sessionId; // 
	private String sessionNum;
	
	@SystemPropertyName("java.version")
	private String javaVersion; // Java的运行环境版本
	
	@SystemPropertyName("java.vendor")
	private String javaEnvSupplier; // Java的运行环境供应商
	
	@SystemPropertyName("java.vendor.url")
	private String javaEnvUrl; // Java供应商的URL
	
	@SystemPropertyName("java.home")
	private String javaInstallPath; // Java的安装路径
	
	@SystemPropertyName("java.vm.specification.version")
	private String jvmSpecVersion; // Java的虚拟机规范版本
	
	@SystemPropertyName("java.vm.specification.vendor")
	private String jvmSpecSupplier; // Java的虚拟机规范供应商
	
	@SystemPropertyName("java.vm.specification.name")
	private String jvmSpecName; // Java的虚拟机规范名称
	
	@SystemPropertyName("java.vm.version")
	private String jvmImplVersion; // Java的虚拟机实现版本
	
	@SystemPropertyName("java.vm.vendor")
	private String jvmImplSupplier; // Java的虚拟机实现供应商
	
	@SystemPropertyName("java.vm.name")
	private String jvmImplName; // Java的虚拟机实现名称
	
	@SystemPropertyName("java.specification.version")
	private String jvmRuntimeEnvSpecVersion; // Java运行时环境规范版本
	
	@SystemPropertyName("java.specification.vender")
	private String jvmRuntimeEnvSpecSupplier; // Java运行时环境规范供应商
	
	@SystemPropertyName("java.specification.name")
	private String jvmRuntimeEnvSpecName; // Java运行时环境规范名称
	
	@SystemPropertyName("java.class.version")
	private String javaClsFomatVersion; // Java的类格式版本号
	
	@SystemPropertyName("java.class.path")
	private String javaClassPath; // Java的类路径
	
	@SystemPropertyName("java.library.path")
	private String javaLibPath; // 加载库时搜索的路径列表
	
	@SystemPropertyName("java.io.tmpdir")
	private String javaTmpPath; // 默认的临时文件路径
	
	@SystemPropertyName("java.ext.dirs")
	private String javaExtPath; // 一个或多个扩展目录的路径
	
	
	@SystemPropertyName("os.name")
	private String osName; // 操作系统的名称
	
	@SystemPropertyName("java.arch")
	private String osArch; // 操作系统的构架
	
	@SystemPropertyName("java.version")
	private String osVersion; // 操作系统的版本
	
	
	@SystemPropertyName("file.separator")
	private String fileSeparator; // 文件分隔符
	
	
	private String serverUsername; // 系统用户名
	
	@SystemPropertyName("user.home")
	private String userHome; // 用户的主目录
	
	@SystemPropertyName("user.dir")
	private String userCurrentDir; // 当前目录
	
	private String cpuNum; // CPU 数量
	private String cpuInfo;
	
	private String totalMemory;
	private String freeMemory;
	private String maxMemory;
	private String usedMemory;
	
	
	public String getServerHost() {
		return serverHost;
	}
	public void setServerHost(String serverHost) {
		this.serverHost = serverHost;
	}
	public String getServerIp() {
		return serverIp;
	}
	public void setServerIp(String serverIp) {
		this.serverIp = serverIp;
	}
	public String getDomain() {
		return domain;
	}
	public void setDomain(String domain) {
		this.domain = domain;
	}
	public String getOs() {
		return os;
	}
	public void setOs(String os) {
		this.os = os;
	}
	public String getServerTime() {
		return serverTime;
	}
	public void setServerTime(String serverTime) {
		this.serverTime = serverTime;
	}
	public String getAlreadyRunTime() {
		return alreadyRunTime;
	}
	public void setAlreadyRunTime(String alreadyRunTime) {
		this.alreadyRunTime = alreadyRunTime;
	}
	public String getSessionId() {
		return sessionId;
	}
	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}
	public String getServerUsername() {
		return serverUsername;
	}
	public void setServerUsername(String serverUsername) {
		this.serverUsername = serverUsername;
	}
	public String getJavaVersion() {
		return javaVersion;
	}
	public void setJavaVersion(String javaVersion) {
		this.javaVersion = javaVersion;
	}
	public String getJavaEnvSupplier() {
		return javaEnvSupplier;
	}
	public void setJavaEnvSupplier(String javaEnvSupplier) {
		this.javaEnvSupplier = javaEnvSupplier;
	}
	public String getJavaInstallPath() {
		return javaInstallPath;
	}
	public void setJavaInstallPath(String javaInstallPath) {
		this.javaInstallPath = javaInstallPath;
	}
	public String getJvmSpecVersion() {
		return jvmSpecVersion;
	}
	public void setJvmSpecVersion(String jvmSpecVersion) {
		this.jvmSpecVersion = jvmSpecVersion;
	}
	public String getJvmSpecSupplier() {
		return jvmSpecSupplier;
	}
	public void setJvmSpecSupplier(String jvmSpecSupplier) {
		this.jvmSpecSupplier = jvmSpecSupplier;
	}
	public String getJvmSpecName() {
		return jvmSpecName;
	}
	public void setJvmSpecName(String jvmSpecName) {
		this.jvmSpecName = jvmSpecName;
	}
	public String getJvmImplVersion() {
		return jvmImplVersion;
	}
	public void setJvmImplVersion(String jvmImplVersion) {
		this.jvmImplVersion = jvmImplVersion;
	}
	public String getJvmImplSupplier() {
		return jvmImplSupplier;
	}
	public void setJvmImplSupplier(String jvmImplSupplier) {
		this.jvmImplSupplier = jvmImplSupplier;
	}
	public String getJvmImplName() {
		return jvmImplName;
	}
	public void setJvmImplName(String jvmImplName) {
		this.jvmImplName = jvmImplName;
	}
	public String getJvmRuntimeEnvSpecVersion() {
		return jvmRuntimeEnvSpecVersion;
	}
	public void setJvmRuntimeEnvSpecVersion(String jvmRuntimeEnvSpecVersion) {
		this.jvmRuntimeEnvSpecVersion = jvmRuntimeEnvSpecVersion;
	}
	public String getJvmRuntimeEnvSpecSupplier() {
		return jvmRuntimeEnvSpecSupplier;
	}
	public void setJvmRuntimeEnvSpecSupplier(String jvmRuntimeEnvSpecSupplier) {
		this.jvmRuntimeEnvSpecSupplier = jvmRuntimeEnvSpecSupplier;
	}
	public String getJvmRuntimeEnvSpecName() {
		return jvmRuntimeEnvSpecName;
	}
	public void setJvmRuntimeEnvSpecName(String jvmRuntimeEnvSpecName) {
		this.jvmRuntimeEnvSpecName = jvmRuntimeEnvSpecName;
	}
	public String getJavaClsFomatVersion() {
		return javaClsFomatVersion;
	}
	public void setJavaClsFomatVersion(String javaClsFomatVersion) {
		this.javaClsFomatVersion = javaClsFomatVersion;
	}
	public String getJavaClassPath() {
		return javaClassPath;
	}
	public void setJavaClassPath(String javaClassPath) {
		this.javaClassPath = javaClassPath;
	}
	public String getJavaLibPath() {
		return javaLibPath;
	}
	public void setJavaLibPath(String javaLibPath) {
		this.javaLibPath = javaLibPath;
	}
	public String getJavaTmpPath() {
		return javaTmpPath;
	}
	public void setJavaTmpPath(String javaTmpPath) {
		this.javaTmpPath = javaTmpPath;
	}
	public String getJavaExtPath() {
		return javaExtPath;
	}
	public void setJavaExtPath(String javaExtPath) {
		this.javaExtPath = javaExtPath;
	}
	public String getOsName() {
		return osName;
	}
	public void setOsName(String osName) {
		this.osName = osName;
	}
	public String getOsArch() {
		return osArch;
	}
	public void setOsArch(String osArch) {
		this.osArch = osArch;
	}
	public String getOsVersion() {
		return osVersion;
	}
	public void setOsVersion(String osVersion) {
		this.osVersion = osVersion;
	}
	public String getFileSeparator() {
		return fileSeparator;
	}
	public void setFileSeparator(String fileSeparator) {
		this.fileSeparator = fileSeparator;
	}
	public String getUserHome() {
		return userHome;
	}
	public void setUserHome(String userHome) {
		this.userHome = userHome;
	}
	public String getUserCurrentDir() {
		return userCurrentDir;
	}
	public void setUserCurrentDir(String userCurrentDir) {
		this.userCurrentDir = userCurrentDir;
	}
	public String getMac() {
		return mac;
	}
	public void setMac(String mac) {
		this.mac = mac;
	}
	public String getJavaEnvUrl() {
		return javaEnvUrl;
	}
	public void setJavaEnvUrl(String javaEnvUrl) {
		this.javaEnvUrl = javaEnvUrl;
	}
	public String getPort() {
		return port;
	}
	public void setPort(String port) {
		this.port = port;
	}
	public String getCpuNum() {
		return cpuNum;
	}
	public void setCpuNum(String cpuNum) {
		this.cpuNum = cpuNum;
	}
	public String getCpuInfo() {
		return cpuInfo;
	}
	public void setCpuInfo(String cpuInfo) {
		this.cpuInfo = cpuInfo;
	}
	public String getTotalMemory() {
		return totalMemory;
	}
	public void setTotalMemory(String totalMemory) {
		this.totalMemory = totalMemory;
	}
	public String getFreeMemory() {
		return freeMemory;
	}
	public void setFreeMemory(String freeMemory) {
		this.freeMemory = freeMemory;
	}
	public String getMaxMemory() {
		return maxMemory;
	}
	public void setMaxMemory(String maxMemory) {
		this.maxMemory = maxMemory;
	}
	public String getUsedMemory() {
		return usedMemory;
	}
	public void setUsedMemory(String usedMemory) {
		this.usedMemory = usedMemory;
	}
	public String getSessionNum() {
		return sessionNum;
	}
	public void setSessionNum(String sessionNum) {
		this.sessionNum = sessionNum;
	}
	@Override
	public String toString() {
		return "SystemInfo [serverHost=" + serverHost + ", serverIp=" + serverIp + ", domain=" + domain + ", mac=" + mac
				+ ", port=" + port + ", os=" + os + ", serverTime=" + serverTime + ", alreadyRunTime=" + alreadyRunTime
				+ ", sessionId=" + sessionId + ", sessionNum=" + sessionNum + ", javaVersion=" + javaVersion
				+ ", javaEnvSupplier=" + javaEnvSupplier + ", javaEnvUrl=" + javaEnvUrl + ", javaInstallPath="
				+ javaInstallPath + ", jvmSpecVersion=" + jvmSpecVersion + ", jvmSpecSupplier=" + jvmSpecSupplier
				+ ", jvmSpecName=" + jvmSpecName + ", jvmImplVersion=" + jvmImplVersion + ", jvmImplSupplier="
				+ jvmImplSupplier + ", jvmImplName=" + jvmImplName + ", jvmRuntimeEnvSpecVersion="
				+ jvmRuntimeEnvSpecVersion + ", jvmRuntimeEnvSpecSupplier=" + jvmRuntimeEnvSpecSupplier
				+ ", jvmRuntimeEnvSpecName=" + jvmRuntimeEnvSpecName + ", javaClsFomatVersion=" + javaClsFomatVersion
				+ ", javaClassPath=" + javaClassPath + ", javaLibPath=" + javaLibPath + ", javaTmpPath=" + javaTmpPath
				+ ", javaExtPath=" + javaExtPath + ", osName=" + osName + ", osArch=" + osArch + ", osVersion="
				+ osVersion + ", fileSeparator=" + fileSeparator + ", serverUsername=" + serverUsername + ", userHome="
				+ userHome + ", userCurrentDir=" + userCurrentDir + ", cpuNum=" + cpuNum + ", cpuInfo=" + cpuInfo
				+ ", totalMemory=" + totalMemory + ", freeMemory=" + freeMemory + ", maxMemory=" + maxMemory
				+ ", usedMemory=" + usedMemory + "]";
	}
}
